public class Bookself {
    public static void main(String[] args) {

        Book book1 = new Book("Java学习笔记", "zzz", "p", 2016);
        Book book2 = new Book("汇编", "xxx", "h", 2016);
        Book book3 = new Book("数据结构与算法", "www", "k", 2015);

        System.out.println(book1.toString());
        System.out.println(book2.toString());
        System.out.println(book3.toString());
    }
}